import request from '@/utils/request'

// 查询部门列表
export function sendEmail(map) {
  return request({
    url: '/system/email/sendEmail',
    method: 'post',
    data: map
  })
}


/*文件上传*/
export function uploadFile(data) {
  return request({
    url: '/system/email/uploadFile',
    method: 'post',
    data: data
  })
}
